//
//  NetWorker+Login.m
//  掌上宏力
//
//  Created by admin on 2017/5/22.
//  Copyright © 2017年 admin. All rights reserved.
//

#import "NetWorker+Login.h"

@implementation NetWorker (Login)

+(void)loginWithUSER:(User *)user success:(void (^)(id))success failure:(void (^)(id))failure{
    [[MySessionManager sharedMySessionManager] loginWithUSER:user success:^(id result) {
        success(result);
    } failure:^(id result) {
        failure(result);
    }];
}
@end
